@echo off
setlocal enabledelayedexpansion

for /f "delims= eol=" %%i in (ip.txt) do (
    start /B /MIN "" ping -n 3600 -w 1000 "%%i" > "%%i.log"
)

endlocal